import request from '../../assets/axios'
import * as urls from '../../assets'
import * as url from "url";


// 默认搜索关键词
export const DefaultSearch = ( params) => request({
    url: urls.baseUrl + '/search/default',
    method: 'get',
    params,
})

// 热搜列表

export const HotSearch = (params) => request({
    url: urls.baseUrl + '/search/hot/detail',
    method: 'get',
    params,
})


// 搜索接口

export const MusicSearch = (params) => request({
    url: urls.baseUrl + '/search',
    method: 'get',
    params
})

// 搜索多重匹配

export const getSearchMultimatch = (params) => request({
    url: urls.baseUrl + '/search/multimatch',
    method: 'get',
    params
})